import request from '@/utils/request'

export function findContest(params) {
  return request({
    url: '/studentApi/contest/findContest',
    method: 'get',
    params: params
  })
}

export function findContestById(params) {
  return request({
    url: '/studentApi/contest/findContestById',
    method: 'get',
    params: params
  })
}

export function insertContest(data) {
  return request({
    url: '/studentApi/contest/insertContest',
    method: 'post',
    data: data
  })
}

export function updateContestById(data) {
  return request({
    url: '/studentApi/contest/updateContestById',
    method: 'put',
    data: data
  })
}


